package com.yfl.mapper;

import com.yfl.domain.SysUser;

public interface SysUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    /**
     * 使用用户名查询用户
     * @param username  用户名
     * @return 用户的实体
     */
    SysUser selectUserByUsername(String username);
}